import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/component/text_area.d.ts',
  content: "/*\n * Copyright (c) 2021-2023 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @since 8\n */\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provides the method of switching the cursor position.\n *\n * @extends TextContentControllerBase\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class TextAreaController extends TextContentControllerBase {\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * constructor.\n     * A constructor used to create a TextAreaController object.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @param { number } value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @param { number } value\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @param { number } value - Length from the start of the string to the position where the caret is located.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretPosition(value: number): void;\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * @param { number } selectionStart - The start position of the selected text.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * @param { number } selectionStart - The start position of the selected text.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Text selection is achieved by specifying the start and end positions of the text.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If <em>selectionMenuHidden</em> is set to <em>true</em> or a 2-in-1 device is used,\n     * calling setTextSelection does not display the context menu even when options is set to <em>MenuPolicy.SHOW</em>.\n     * <br>If the selected text contains an emoji,\n     * the emoji is selected when its start position is within the text selection range.\n     * </p>\n     *\n     * @param { number } selectionStart - The start position of the selected text.\n     * The start position of text in the text box is 0.\n     * A value less than 0 is handled as 0.\n     * A value greater than the maximum text length is handled as the maximum text length.\n     * @param { number } selectionEnd - The end position of the selected text.\n     * A value less than 0 is handled as the value 0.\n     * A value greater than the maximum text length is handled as the maximum text length.\n     * @param { SelectionOptions } [options] - Indicates the options of the text selection.Default value is MenuPolicy.DEFAULT.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    setTextSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void;\n    /**\n     * Exit edit state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Exit edit state.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    stopEditing(): void;\n}\n/**\n * Defines the options of TextArea.\n *\n * @interface TextAreaOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the options of TextArea.\n *\n * @interface TextAreaOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the options of TextArea.\n *\n * @interface TextAreaOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface TextAreaOptions {\n    /**\n     * The place holder text string.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * The place holder text string.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * The place holder text string.\n     * Text displayed when there is no input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>When only the placeholder attribute is set, the text selection handle is still available.\n     * <br>The caret stays at the beginning of the placeholder text when the handle is released.\n     * </p>\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholder?: ResourceStr;\n    /**\n     * Sets the current value of TextArea.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Sets the current value of TextArea.\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the current value of TextArea.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>You are advised to bind the state variable to the text in real time through the onChange event,\n     * so as to prevent display errors when the component is updated.\n     * </p>\n     *\n     * @type { ?ResourceStr }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    text?: ResourceStr;\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextAreaController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextAreaController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the position of the insertion cursor is set.\n     *\n     * @type { ?TextAreaController }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    controller?: TextAreaController;\n}\n/**\n * Provides an interface for the multi-line text input component.\n *\n * @interface TextAreaInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Provides an interface for the multi-line text input component.\n *\n * @interface TextAreaInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provides an interface for the multi-line text input component.\n *\n * @interface TextAreaInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ninterface TextAreaInterface {\n    /**\n     * Called when writing multiple lines of text.\n     *\n     * @param { TextAreaOptions } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when writing multiple lines of text.\n     *\n     * @param { TextAreaOptions } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when writing multiple lines of text.\n     *\n     * @param { TextAreaOptions } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    (value?: TextAreaOptions): TextAreaAttribute;\n}\n/**\n * Declare the type of input box\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 11\n */\n/**\n * Declare the type of input box\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare enum TextAreaType {\n    /**\n     * Basic input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Basic input mode.\n     * The value can contain digits, letters, underscores (_), spaces, and special characters.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NORMAL = 0,\n    /**\n     * Pure digital input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Pure digital input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NUMBER = 2,\n    /**\n     * Phone number entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Phone number entry mode.\n     * In this mode, the following are allowed: digits, spaces, plus signs (+), hyphens (-), asterisks (*), and number signs (#).\n     * the length is not limited.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    PHONE_NUMBER = 3,\n    /**\n     * E-mail address input mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * E-mail address input mode.\n     * This mode accepts only digits, letters, underscores (_), dots (.),\n     * and the following special characters: ! # $ % & ' * + - / = ? ^ ` { | } ~ @ (which can only appear once).\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    EMAIL = 5,\n    /**\n     * Number decimal entry mode.\n     * The value can contain digits and one decimal point.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    NUMBER_DECIMAL = 12,\n    /**\n     * URL entry mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    URL = 13,\n    /**\n     * One time code mode.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 20\n     */\n    ONE_TIME_CODE = 14\n}\n/**\n * Declare the event listener callback of the enter key.\n *\n * @typedef { function } TextAreaSubmitCallback\n * @param { EnterKeyType } enterKeyType - The enter key type of soft keyboard.\n * If the type is EnterKeyType.NEW_LINE, onSubmit is not triggered.\n * @param { SubmitEvent } [event] - Provides the method of keeping textArea editable state when submitted.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 14\n */\ndeclare type TextAreaSubmitCallback = (enterKeyType: EnterKeyType, event?: SubmitEvent) => void;\n/**\n * Defines the attribute functions of TextArea.\n *\n * @extends CommonMethod<TextAreaAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the attribute functions of TextArea.\n *\n * @extends CommonMethod<TextAreaAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines the attribute functions of TextArea.\n *\n * @extends CommonMethod<TextAreaAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare class TextAreaAttribute extends CommonMethod<TextAreaAttribute> {\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the color of the placeholder is set.\n     *\n     * @param { ResourceColor } value - Default value follows the theme.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholderColor(value: ResourceColor): TextAreaAttribute;\n    /**\n     * Called when the font property of the placeholder is set.\n     *\n     * @param { Font } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font property of the placeholder is set.\n     *\n     * @param { Font } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font property of the placeholder is set.\n     * The 'HarmonyOS Sans' font and registered custom fonts are supported.\n     *\n     * @param { Font } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    placeholderFont(value: Font): TextAreaAttribute;\n    /**\n     * Called when the type of soft keyboard input button is set.\n     *\n     * @param { EnterKeyType } value the type of soft keyboard\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Called when the type of soft keyboard input button is set.\n     *\n     * @param { EnterKeyType } value the type of soft keyboard - Default value is EnterKeyType.NEW_LINE.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    enterKeyType(value: EnterKeyType): TextAreaAttribute;\n    /**\n     * Called when the alignment of the contents of a multiline text box is set.\n     *\n     * @param { TextAlign } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the alignment of the contents of a multiline text box is set.\n     *\n     * @param { TextAlign } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the alignment of the contents of a multiline text box is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>To set vertical alignment for the text, use the align attribute.\n     * <br>The align attribute alone does not control the horizontal position of the text.\n     * <br>In other words, Alignment.TopStart, Alignment.Top, and Alignment.TopEnd produce the same effect,\n     * top-aligning the text; Alignment.Start, Alignment.Center, and Alignment.End produce the same effect,\n     * centered-aligning the text vertically; Alignment.BottomStart, Alignment.Bottom,\n     * and Alignment.BottomEnd produce the same effect, bottom-aligning the text.\n     * <br>When textAlign is set to TextAlign.JUSTIFY, the text in the last line is horizontally aligned with the start edge.\n     * <br>Since API version 11, textAlign can be set to TextAlign.JUSTIFY.\n     * </p>\n     *\n     * @param { TextAlign } value - Default value is TextAlign.Start.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    textAlign(value: TextAlign): TextAreaAttribute;\n    /**\n     * Called when the insertion cursor color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the insertion cursor color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the insertion cursor color is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Since API version 12, this API can be used to set the text handle color, which is the same as the caret color.\n     * </p>\n     *\n     * @param { ResourceColor } value - Default value is '#007DFF'.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    caretColor(value: ResourceColor): TextAreaAttribute;\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font color is set.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontColor(value: ResourceColor): TextAreaAttribute;\n    /**\n     * Called when the font size is set.\n     *\n     * @param { Length } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font size is set.\n     *\n     * @param { Length } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font size is set.\n     *\n     * @param { Length } value - Default value is 16fp.The default value on wearable devices is 18fp.\n     * If fontSize is of the number type, the unit fp is used.\n     * This parameter cannot be set in percentage.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontSize(value: Length): TextAreaAttribute;\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font style of a font is set.\n     *\n     * @param { FontStyle } value - Default value is FontStyle.Normal.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontStyle(value: FontStyle): TextAreaAttribute;\n    /**\n     * Called when the font weight is set.\n     *\n     * @param { number | FontWeight | string } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font weight is set.\n     *\n     * @param { number | FontWeight | string } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font weight is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is too large, the text may be clipped depending on the font.\n     * <br>For the number type, the value range is [100, 900], at an interval of 100. The default value is 400.\n     * <br>A larger value indicates a heavier font weight.\n     * <br>For the string type, only strings that represent a number, for example, \"400\",\n     * and the following enumerated values of FontWeight are supported: \"bold\", \"bolder\", \"lighter\", \"regular\", and \"medium\".\n     * </p>\n     *\n     * @param { number | FontWeight | string } value - Default value is FontWeight.Normal.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n    * Called when the font weight is set.\n    *\n    * @param { number | FontWeight | ResourceStr } value\n    * @returns { TextAreaAttribute }\n    * @syscap SystemCapability.ArkUI.ArkUI.Full\n    * @crossplatform\n    * @atomicservice\n    * @since 20\n    */\n    fontWeight(value: number | FontWeight | ResourceStr): TextAreaAttribute;\n    /**\n     * Called when the font list of text is set.\n     *\n     * @param { ResourceStr } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the font list of text is set.\n     *\n     * @param { ResourceStr } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the font list of text is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The 'HarmonyOS Sans' font and registered custom fonts are supported for applications.\n     * <br>Only the 'HarmonyOS Sans' font is supported for widgets.\n     * </p>\n     *\n     * @param { ResourceStr } value - Default value is 'HarmonyOS Sans'.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    fontFamily(value: ResourceStr): TextAreaAttribute;\n    /**\n     * Called when the overflow mode of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>In inline style, the effect of truncating text according to maxLines only applies when textOverflow is set.\n     * <br>Text is clipped at the transition between words.\n     * <br>To clip text in the middle of a word, set wordBreak to WordBreak.BREAK_ALL.\n     * <br>If overflow is set to TextOverflow.None, TextOverflow.Clip, or TextOverflow.Ellipsis,\n     * this attribute must be used with maxLines for the settings to take effect.\n     * <br>TextOverflow.None produces the same effect as TextOverflow.Clip.\n     * </p>\n     *\n     * @param { TextOverflow } value - Default value is TextOverflow.Clip.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    textOverflow(value: TextOverflow): TextAreaAttribute;\n    /**\n     * Specify the indentation of the first line in a text-block.\n     *\n     * @param { Dimension } value - The length of text indent.Default value is 0.\n     * @returns { TextAreaAttribute } The attribute of the text.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    textIndent(value: Dimension): TextAreaAttribute;\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the inputFilter of text is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Only inputs that comply with the regular expression can be displayed.\n     * <br>Other inputs are filtered out.\n     * <br>The specified regular expression can match single characters, but not strings.\n     * </p>\n     *\n     * @param { ResourceStr } value\n     * @param { function } error\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    inputFilter(value: ResourceStr, error?: (value: string) => void): TextAreaAttribute;\n    /**\n     * Define the caret style of the text input.\n     *\n     * @param { CaretStyle } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    caretStyle(value: CaretStyle): TextAreaAttribute;\n    /**\n     * Define the text selected background color of the text input.\n     * If the opacity is not set, a 20% opacity will be used.\n     *\n     * @param { ResourceColor } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    selectedBackgroundColor(value: ResourceColor): TextAreaAttribute;\n    /**\n     * Called when submitted.\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Called when submitted.\n     *\n     * @param { function } callback - If it is EnterKeyType.NEW_LINE and the text box is in inline input style, onSubmit is not triggered.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onSubmit(callback: (enterKey: EnterKeyType) => void): TextAreaAttribute;\n    /**\n     * Called when submitted.\n     * Triggered when the Enter key on the soft keyboard is pressed,\n     * providing methods to maintain the editing state of the TextArea component upon submission.\n     *\n     * @param { TextAreaSubmitCallback } callback - callback of the listened event.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    onSubmit(callback: TextAreaSubmitCallback): TextAreaAttribute;\n    /**\n     * Called when the input changes.\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the input changes.\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the input changes.\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when the input changes.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>In this callback, if cursor operations are performed,\n     * you need to adjust the cursor logic based on the previewText parameter\n     * to make sure it works seamlessly under the preview display scenario.\n     * </p>\n     *\n     * @param { EditableTextOnChangeCallback } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onChange(callback: EditableTextOnChangeCallback): TextAreaAttribute;\n    /**\n     * Called when the text selection changes.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the text selection changes.\n     *\n     * @param { function } callback - callback of the listened event.\n     * { number } selectionStart - The start position of text is 0.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onTextSelectionChange(callback: (selectionStart: number, selectionEnd: number) => void): TextAreaAttribute;\n    /**\n     * Called when the content scrolls.\n     *\n     * @param { function } callback - callback of the listened event.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the content scrolls.\n     *\n     * @param { function } callback - callback of the listened event.\n     * { number } totalOffsetX - The unit is px.\n     * { number } totalOffsetY - The unit is px.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onContentScroll(callback: (totalOffsetX: number, totalOffsetY: number) => void): TextAreaAttribute;\n    /**\n     * Called when judging whether the text editing change finished.\n     *\n     * @param { function } callback - Triggered when the text area status changes.\n     * If the value of isEditing is true, text area is in progress.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when judging whether the text editing change finished.\n     * The text box is in the editing state when it has the caret placed in it, and is in the non-editing state otherwise.\n     *\n     * @param { function } callback - Triggered when the text area status changes.\n     * If the value of isEditing is true, text area is in progress.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onEditChange(callback: (isEditing: boolean) => void): TextAreaAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onCopy(callback: (value: string) => void): TextAreaAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onCut(callback: (value: string) => void): TextAreaAttribute;\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when using the Clipboard menu\n     *\n     * @param { function } callback\n     *          Executed when a paste operation is performed.\n     *          { string } value - The text content to be pasted.\n     *          { PasteEvent } event - The user-defined paste event.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    onPaste(callback: (value: string, event: PasteEvent) => void): TextAreaAttribute;\n    /**\n     * Called when the copy option is set.\n     *\n     * @param { CopyOptions } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the copy option is set.\n     *\n     * @param { CopyOptions } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the copy option is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If this attribute is set to CopyOptions.None, the text can only be pasted;\n     * all other actions, such as copying, cutting, and sharing, are disabled.\n     * <br>Dragging is not allowed when CopyOptions.None is set.\n     * </p>\n     *\n     * @param { CopyOptions } value - Default value is CopyOptions.LocalDevice.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    copyOption(value: CopyOptions): TextAreaAttribute;\n    /**\n     * Sets whether request keyboard or not when on focus.\n     *\n     * @param { boolean } value\n     * @returns { TextAreaAttribute } Returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets whether request keyboard or not when on focus.\n     *\n     * @param { boolean } value - Default value is true.\n     * @returns { TextAreaAttribute } Returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    enableKeyboardOnFocus(value: boolean): TextAreaAttribute;\n    /**\n     * Define the max length content of the text area.\n     *\n     * @param { number } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define the max length content of the text area.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>By default, there is no maximum number of characters.\n     * <br>When the maximum number of characters is reached,\n     * no more characters can be entered, and the border turns red.\n     * </p>\n     *\n     * @param { number } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    maxLength(value: number): TextAreaAttribute;\n    /**\n     * Define show counter of the text area.\n     *\n     * @param { boolean } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define show counter of the text area.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>options can be set only when value is set to true,\n     * in which case a character counter is displayed below the text box.\n     * <br>This attribute must be used together with maxlength.\n     * <br>The character counter is displayed in this format: Number of characters entered/Character limit.\n     * <br>It is visible when the number of characters entered is greater than\n     * the character limit multiplied by the threshold percentage value.\n     * <br>If options is not set, the text box border and character counter subscript turn red\n     * when the number of characters entered reaches the limit.\n     * <br>If value is set to true and options is set,\n     * the text box border and character counter subscript turn red\n     * and the text box shakes when the number of characters entered reaches the limit,\n     * provided that the value of thresholdPercentage is valid.\n     * <br>If highlightBorder is set to false, the text box border does not turn red.\n     * <br>By default, highlightBorder is set to true.\n     * <br>The character counter is not displayed for text boxes in inline input style.\n     * </p>\n     *\n     * @param { boolean } value - Set showcounter of the text area.\n     * @param { InputCounterOptions } options - Set the percentage of counter.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showCounter(value: boolean, options?: InputCounterOptions): TextAreaAttribute;\n    /**\n     * Define style of the text area.\n     *\n     * @param { TextContentStyle } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define style of the text area.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The inline input style is only available for the TextAreaType.Normal type.\n     * </p>\n     *\n     * @param { TextContentStyle } value - Default value is TextContentStyle.DEFAULT.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    style(value: TextContentStyle): TextAreaAttribute;\n    /**\n     * Define bar state of the text area.\n     *\n     * @param { BarState } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define bar state of the text area.\n     *\n     * @param { BarState } value - Default value is BarState.Auto.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    barState(value: BarState): TextAreaAttribute;\n    /**\n     * Controls whether the selection menu pops up.\n     *\n     * @param { boolean } value\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Controls whether the selection menu pops up.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br><em>true</em>:\n     * <br>The system text selection menu does not appear under the following circumstances: clicking the text box cursor,\n     * long-pressing the text box, double-tapping the text box, triple-tapping the text box, or right-clicking the text box.\n     * <br><em>false</em>:\n     * <br>The system text selection menu appears under the following circumstances: clicking the text box cursor,\n     * long-pressing the text box, double-tapping the text box, triple-tapping the text box, or right-clicking the text box.\n     * </p>\n     *\n     * @param { boolean } value - Default value is false.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    selectionMenuHidden(value: boolean): TextAreaAttribute;\n    /**\n     * Called when the minimum font size of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>For the string type, numeric string values with optional units, for example, \"10\" or \"10fp\", are supported.\n     * <br>For the setting to take effect, this attribute must be used together with maxFontSize and maxLines,or layout constraint settings.\n     * <br>When the adaptive font size is used, the fontSize settings do not take effect.\n     * </p>\n     *\n     * @param { number | string | Resource } value - The unit is fp.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    minFontSize(value: number | string | Resource): TextAreaAttribute;\n    /**\n     * Called when the maximum font size of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>For the string type, numeric string values with optional units, for example, \"10\" or \"10fp\", are supported.\n     * <br>For the setting to take effect, this attribute must be used together with minFontSize and maxLines, or layout constraint settings.\n     * <br>When the adaptive font size is used, the fontSize settings do not take effect.\n     * </p>\n     *\n     * @param { number | string | Resource } value - The unit is fp.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    maxFontSize(value: number | string | Resource): TextAreaAttribute;\n    /**\n     * Called when the minimum font scale of the font is set.\n     * Value range: [0, 1]\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>The undefined type is supported.\n     * <br>A value less than 0 is handled as 0.\n     * <br>A value greater than 1 is handled as 1.\n     * <br>Abnormal values are ineffective by default.\n     * </p>\n     *\n     * @param { Optional<number | Resource> } scale\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    minFontScale(scale: Optional<number | Resource>): TextAreaAttribute;\n    /**\n     * Called when the maximum font scale of the font is set.\n     * Value range: [1, +∞)\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>A value less than 1 is handled as 1.\n     * <br>Abnormal values are ineffective by default.\n     * </p>\n     *\n     * @param { Optional<number | Resource> } scale\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 18\n     */\n    maxFontScale(scale: Optional<number | Resource>): TextAreaAttribute;\n    /**\n     * Called when the height adaptive policy is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <ul>\n     * <li>When this attribute is set to TextHeightAdaptivePolicy.MAX_LINES_FIRST,\n     * the maxLines attribute takes precedence for adjusting the text height.\n     * <br>If the maxLines setting results in a layout beyond the layout constraints,\n     * the text will shrink to a font size between minFontSize and maxFontSize to allow for more content to be shown.\n     * <br>If the text box is in inline input style,\n     * the font size in the editing state is different from that in the non-editing state.</li>\n     * <li>If this attribute is set to TextHeightAdaptivePolicy.MIN_FONT_SIZE_FIRST,\n     * the minFontSize attribute takes precedence for adjusting the text height.\n     * <br>If the text can fit in one line with the minFontSize setting,\n     * the text will enlarge to the largest possible font size between minFontSize and maxFontSize.</li>\n     * <li>If this attribute is set to TextHeightAdaptivePolicy.LAYOUT_CONSTRAINT_FIRST,\n     * the layout constraints take precedence for adjusting the text height.\n     * <br>If the resultant layout is beyond the layout constraints,\n     * the text will shrink to a font size between minFontSize and maxFontSize to respect the layout constraints.</li>\n     * </ul>\n     * </p>\n     *\n     * @param { TextHeightAdaptivePolicy } value - The height adaptive policy.Default value is TextHeightAdaptivePolicy.MAX_LINES_FIRST.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextAreaAttribute;\n    /**\n     * Define max lines of the text area.\n     *\n     * @param { number } value\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define max lines of the text area.\n     * Value range: (0, +∞)\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Sets the maximum number of lines that can be displayed.\n     * <br>When textOverflow is set, text is truncated if the content exceeds this limit.\n     * <br>When textOverflow is not set, in inline style,\n     * the text is scrollable if the content exceeds the limit while the text box is focused;\n     * maxLines does not apply when the text box is not focused.\n     * <br>In non-inline style, the text is truncated according to the number of lines.\n     * <br>Default value: 3 with the inline style; +∞ with the non-inline style,\n     * indicating that there is no maximum number of lines.\n     * </p>\n     *\n     * @param { number } value\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    maxLines(value: number): TextAreaAttribute;\n    /**\n     * Define max lines of the text area, behavior can be displayed as the scrolling capability.\n     *\n     * @param { number } lines - Max lines of the node\n     * @param { MaxLinesOptions } options - max lines of setting options.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    maxLines(lines: number, options: MaxLinesOptions): TextAreaAttribute;\n    /**\n     * Define min lines of the text area.\n     *\n     * @param { Optional<number> } lines - Min lines of the node\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    minLines(lines: Optional<number>): TextAreaAttribute;\n    /**\n     * Set the word break type.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute does not take effect for the placeholder text.\n     * <br>The component does not support the clip attribute.\n     * <br>Therefore, setting this attribute does not affect text clipping.\n     * </p>\n     *\n     * @param { WordBreak } value - The word break type.Default value is WordBreak.BREAK_WORD.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    wordBreak(value: WordBreak): TextAreaAttribute;\n    /**\n     * Set the text line break strategy type.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute takes effect when wordBreak is not set to breakAll. Hyphens are not supported.\n     * </p>\n     *\n     * @param { LineBreakStrategy } strategy - The text line break strategy type.Default value is LineBreakStrategy.GREEDY.\n     * @returns { TextAreaAttribute } The attribute of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    lineBreakStrategy(strategy: LineBreakStrategy): TextAreaAttribute;\n    /**\n     * Define custom keyboard of the text area.\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Define custom keyboard of the text area.\n     *\n     * @param { CustomBuilder } value\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Define custom keyboard of the text area.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>When a custom keyboard is set, activating the text box opens the specified custom component,\n     * instead of the system input method.\n     * <br>The custom keyboard's height can be set through the height attribute of the custom component's root node,\n     * and its width is fixed at the default value.\n     * <br>The custom keyboard is presented by overlaying the original screen,\n     * which is not compressed or lifted if avoid mode is not enabled or avoidance is not needed for the text box.\n     * <br>The custom keyboard cannot obtain the focus, but it blocks gesture events.\n     * <br>By default, the custom keyboard is closed when the input component loses the focus.\n     * <br>You can also use the TextAreaController.stopEditing API to close the keyboard.\n     * <br>When a custom keyboard is set, the text box does not support camera input, even when the device supports.\n     * <br>When setting a custom keyboard, you can bind the onKeyPrelme event to prevent input from the physical keyboard.\n     * </p>\n     *\n     * @param { CustomBuilder } value - Set up a custom keyboard of TextArea\n     * @param { KeyboardOptions } [options] - Indicates the custom keyboard options of TextArea\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextAreaAttribute;\n    /**\n     * Called when the text decoration of the text is set.\n     *\n     * @param { TextDecorationOptions } value - Default value is { type: TextDecorationType.None, color: Color.Black, style: TextDecorationStyle.SOLID }.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    decoration(value: TextDecorationOptions): TextAreaAttribute;\n    /**\n     * Called when the distance between text fonts is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value specified is a percentage or 0, the default value is used.\n     * <br>For the string type, numeric string values with optional units, for example, \"10\" or \"10fp\", are supported.\n     * <br>If the value specified is a negative value, the text is compressed.\n     * <br>A negative value too small may result in the text being compressed to 0 and no content being displayed.\n     * </p>\n     *\n     * @param { number | string | Resource } value - The unit is fp.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    letterSpacing(value: number | string | Resource): TextAreaAttribute;\n    /**\n     * Set font line spacing.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value specified is less than or equal to 0, the default value 0 is used.\n     * </p>\n     *\n     * @param { LengthMetrics } value - Default value is 0.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    lineSpacing(value: LengthMetrics): TextAreaAttribute;\n    /**\n     * Set font line spacing with options.\n     *\n     * @param { LengthMetrics } value\n     * @param { LineSpacingOptions } options\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    lineSpacing(value: LengthMetrics, options?: LineSpacingOptions): TextAreaAttribute;\n    /**\n     * Called when the line height of the font is set.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the value is less than or equal to 0, the line height is not limited and the font size is adaptive.\n     * <br>If the value is of the number type, the unit fp is used.\n     * </p>\n     *\n     * @param { number | string | Resource } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    lineHeight(value: number | string | Resource): TextAreaAttribute;\n    /**\n     * Called when the input type is set.\n     *\n     * @param { TextAreaType } value\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 11\n     */\n    /**\n     * Called when the input type is set.\n     *\n     * @param { TextAreaType } value - Default value is TextAreaType.Normal.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    type(value: TextAreaType): TextAreaAttribute;\n    /**\n     * Sets whether enable auto fill or not.\n     *\n     * @param { boolean } value - Indicates the flag whether autofill is enabled.Default value is true.True: enable, false: disable.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    enableAutoFill(value: boolean): TextAreaAttribute;\n    /**\n     * Called when the auto fill type is set.\n     *\n     * @param { ContentType } contentType - Indicates autofill type.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 12\n     */\n    contentType(contentType: ContentType): TextAreaAttribute;\n    /**\n     * Set font feature.\n     *\n     * @param { string } value - The fontFeature.\n     * normal | <feature-tag-value>,\n     * where <feature-tag-value> = <string> [ <integer> | on | off ], like: \"ss01\" 0\n     * the values of <feature-tag-value> reference to doc of TextArea component\n     * number of <feature-tag-value> can be single or multiple, and separated by comma ','.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    fontFeature(value: string): TextAreaAttribute;\n    /**\n     * Get text value information when about to input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It returns true if the text is inserted; returns false otherwise.\n     * <br>This callback is not triggered for pre-edit or candidate word operations.\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<InsertValue, boolean> } callback - The triggered function when text content is about to insert.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onWillInsert(callback: Callback<InsertValue, boolean>): TextAreaAttribute;\n    /**\n     * Get text value information when completed input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<InsertValue> } callback - The triggered function when text content has been inserted.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onDidInsert(callback: Callback<InsertValue>): TextAreaAttribute;\n    /**\n     * Get text value information when about to delete.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It returns true if the text is deleted; returns false otherwise.\n     * <br>This callback is not called for text preview.\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<DeleteValue, boolean> } callback - The triggered function when text content is about to delete.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onWillDelete(callback: Callback<DeleteValue, boolean>): TextAreaAttribute;\n    /**\n     * Get text value information when the deletion has been completed\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>It is available only for system input methods.\n     * </p>\n     *\n     * @param { Callback<DeleteValue> } callback - The triggered function when text content has been deleted.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onDidDelete(callback: Callback<DeleteValue>): TextAreaAttribute;\n    /**\n     * Set the custom text menu.\n     * Sets the extended options of the custom context menu on selection,\n     * including the text content, icon, and callback.\n     *\n     * @param { EditMenuOptions } editMenu - Customize text menu options.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    editMenuOptions(editMenu: EditMenuOptions): TextAreaAttribute;\n    /**\n     * Define the preview text mode of the text input.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Preview text is in a temporary state and does not support text interception.\n     * <br>As such, it does not trigger onWillInsert, onDidInsert, onWillDelete, or onDidDelete callbacks.\n     * </p>\n     *\n     * @param { boolean } enable - Indicates the preview text mode.Default value is true.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    enablePreviewText(enable: boolean): TextAreaAttribute;\n    /**\n     * Enable or disable haptic feedback.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>To enable haptic feedback,\n     * <br>you must declare the ohos.permission.VIBRATE permission under requestPermissions in the module.json5 file of the project.\n     * <code>\n     * \"requestPermissions\": [\n     *   {\n     *      \"name\": \"ohos.permission.VIBRATE\",\n     *   }\n     * ]\n     * </code>\n     * </p>\n     *\n     * @param { boolean } isEnabled - Default value is true, set false to disable haptic feedback.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enableHapticFeedback(isEnabled: boolean): TextAreaAttribute;\n    /**\n     * Set text mode of automatic case mode switching.\n     *\n     * @param { AutoCapitalizationMode } mode - Automatic case mode values.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    autoCapitalizationMode(mode: AutoCapitalizationMode): TextAreaAttribute;\n    /**\n     * Set the text with half leading.\n     *\n     * @param { Optional<boolean> } halfLeading - Default value is false.The value true means that half leading is enabled, and false means the opposite.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    halfLeading(halfLeading: Optional<boolean>): TextAreaAttribute;\n    /**\n     * Set the ellipsis mode.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>For the settings to work, overflow must be set to TextOverflow.Ellipsis and maxLines must be specified.\n     * <br>Setting ellipsisMode alone does not take effect.\n     * <br>EllipsisMode.START and EllipsisMode.CENTER take effect only when maxLines is set to 1.\n     * </p>\n     *\n     * @param { EllipsisMode } mode - The ellipsis mode.Default value is EllipsisMode.END.\n     * @returns { TextAreaAttribute } The attribute of TextArea.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    ellipsisMode(mode: Optional<EllipsisMode>): TextAreaAttribute;\n    /**\n     * Set whether stop backPressed callback event or not.\n     *\n     * @param { Optional<boolean> } isStopped - Default value is true, set false to trigger the latest callback event.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 15\n     */\n    stopBackPress(isStopped: Optional<boolean>): TextAreaAttribute;\n    /**\n     * Get text value information when about to change.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This callback is triggered after onWillInsert and onWillDelete, but before onDidInsert and onDidDelete.\n     * </p>\n     *\n     * @param { Callback<EditableTextChangeValue, boolean> } callback - The triggered function when text content is about to change.\n     * Returning true allows the change to proceed, while returning false cancels the change.\n     * @returns { TextAreaAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    onWillChange(callback: Callback<EditableTextChangeValue, boolean>): TextAreaAttribute;\n    /**\n     * Set the keyboard appearance.\n     *\n     * @param { Optional<KeyboardAppearance> } appearance - Default value is KeyboardAppearance.NONE_IMMERSIVE\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 15\n     */\n    keyboardAppearance(appearance: Optional<KeyboardAppearance>): TextAreaAttribute;\n    /**\n     * Set the stroke width.\n     *\n     * @param { Optional<LengthMetrics> } width - indicates the stroke width.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    strokeWidth(width: Optional<LengthMetrics>): TextAreaAttribute;\n    /**\n     * Set the stroke color.\n     *\n     * @param { Optional<ResourceColor> } color - indicates the stroke color.\n     * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    strokeColor(color: Optional<ResourceColor>): TextAreaAttribute;\n}\n/**\n * Defines TextArea Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines TextArea Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines TextArea Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const TextArea: TextAreaInterface;\n/**\n * Defines TextArea Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines TextArea Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Defines TextArea Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare const TextAreaInstance: TextAreaAttribute;\n",
}
export default FILE;